package org.example.sys.entity.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.example.sys.entity.TSysMenu;

import java.io.Serializable;
import java.util.List;

@Setter
@Getter
@ToString
public class MenuDTO extends TSysMenu implements Serializable {
    @Schema(name = "children",description ="子菜单")
    @TableField(exist = false)
    private List<MenuDTO> children;

    @Schema(name = "checked",description ="角色权限树选中状态")
    @TableField(exist = false)
    private Boolean checked;
}
